package com.xdf.xzymanagementsystem.service;

import com.xdf.xzymanagementsystem.entity.JcContactcompany;
import com.xdf.xzymanagementsystem.entity.UserContact;
import com.xdf.xzymanagementsystem.util.Example;

import java.util.List;
import java.util.Map;

/**
 * @author chanchaw
 * @create 2022-08-26 14:15
 */
public interface SubSystemClient {
    Boolean isSubUser();
    List<UserContact> getSubSystemClients();// 获取当前用户所有关联的客户
    <T> List<T> filter8SubSystemUserContact(List<T> records,String methodString,String clientIdFieldName);
    <T> List<T> filter8SubSystemUserContact(List<T> records,String methodString);
    <T> T filter8SubSystemUserContact(T record,String methodName);
    Example addInCondition(Example example,String clientIdFieldName);
}
